import db from "@src/dataBase/db";
import Sequelize from "sequelize";

// 分类
const FieldCategory = db.define("fieldCategory",
    {
        //雪花id
        id: {type: Sequelize.STRING, primaryKey: true},
        name: {type: Sequelize.STRING},
        created_at: {type: Sequelize.BIGINT},
        updated_at: {type: Sequelize.BIGINT}
    },
    {
        timestamps: false,
        underscored: true,
        tableName: "field_category"
    }
)

export default FieldCategory;